import request from "@/api/request"
import type { AxiosResponse } from "axios"

export type GetUserParams = {
  query_user_id: string
}
export function getUser(params:GetUserParams):Promise<AxiosResponse>{
  return request('user_data/query_user_info', params, 'post')
}

export type UpdateUserParams = {
  query_user_id: string,
  m_type: number,
  param: string
}
export function updateUser(params: UpdateUserParams):Promise<AxiosResponse>{
  return request('user_data/modify_user_data', params, 'post')
}